<?php if (!defined('THINK_PATH')) exit();?><html><head>
    <meta charset="utf-8">
    <title>用户登录-兼职猫网页版</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <!--  使低于IE9版本的浏览器支持ht ml5标签  -->
    <!--[if lt IE 9]>

    <![endif]-->

    <link rel="stylesheet" href="/Public/style/reset.css-version=1.1.css">
    <link rel="stylesheet" href="/Public/style/header.css-version=1.1.css">
    <link rel="stylesheet" href="/Public/style/container_header_logo_box.css-version=1.1.css">
    <link rel="stylesheet" href="/Public/style/login.css-version=1.1.css">
    <link rel="stylesheet" href="/Public/style/footer.css-version=1.1.css">

    <!--  font-awesome图标集  -->

    <link rel="stylesheet" href="/Public/style/font-awesome/css/font-awesome.min.css-version=1.1.css">
    <!--[if IE 7]>
    <link rel="stylesheet" href="/Public/style/font-awesome/css/font-awesome-ie7.min.css-version=1.1.css">
    <![endif]-->
</head>
<body>

<script rc="/Public/js/jquery-1.11.1.min.js"></script>

<header class="header">
    <nav class="w_main navigation_box">
        <div class="city_wrap">
            <span class="city">广州</span> <a rel="nofollow" href="http://www.jianzhimao.com/ctrlcity/changeCity.html">[切换城市]</a>
        </div>
        <div class="channel_box">
            <a rel="nofollow" href="http://www.jianzhimao.com">首页</a>
            <a rel="nofollow" href="javascript:;" id="cooperation" onclick="document.getElementById('cooperation_box_alt').style.display='block';">申请合作</a>
            <a rel="nofollow" href="http://www.jianzhimao.com/ctrlindex/enterprise.html">企业推广</a>
            |
            <a rel="nofollow" href="http://www.jianzhimao.com/ctrlcity/login" class="selected">登录</a>
        </div>
    </nav>
    <div id="cooperation_box_alt" class="cooperation_box_alt">
        <div class="cooperation_box_overlay"></div>
        <div class="cooperation_box">
            <div class="title">申请合作<a rel="nofollow" class="close_btn" href="javascript:;" onclick="this.parentNode.parentNode.parentNode.style.display='none'">×</a></div>
            <div class="cont">
                <div class="p_left"><img src="/Public/img/cooperation.png-version=1.1.png" alt="申请合作"></div>
                <div class="p_right">
                    <a rel="nofollow" href="http://www.jianzhimao.com/ctrlCooperate/qydl.html" target="_blank" class="btn company">申请区域代理</a>
                    <a rel="nofollow" href="http://www.jianzhimao.com/ctrlCooperate/wzhz.html" target="_blank" class="btn websize">申请网站合作</a>
                    <a rel="nofollow" href="http://www.jianzhimao.com/ctrlCooperate/qghz.html" target="_blank" class="btn school">申请勤工合作</a>
                </div>
            </div>
        </div>
    </div>
</header>

<section class="container">
    <header class="w_main">
        <div class="logo_box clearfix">
            <a href="http://guangzhou.jianzhimao.com" class="logo left"><img src="/Public/img/logo.png-version=1.1.png" alt="兼职猫logo"></a>
            <div class="title_wrap left">用户登录</div>
        </div>
    </header>

    <div class="w_main content_box clearfix">
        <div class="ad_box" id="ad_box">
            <ul class="banners" style="display: block;">
                <li><img src="/Public/img/person_login_banner.png-version=1.1.png" alt="求职用户"></li>
            </ul>
            <ul class="banners" style="display: none;">
                <li><img src="/Public/img/company_login_banner.png-version=1.1.png" alt="企业用户"></li>
            </ul>
        </div>
        <div class="login_box">
            <div class="user_type_tabs clearfix" id="user_type_tabs">
                <span class="selected" id="user_type-0">求职用户</span> <span id="user_type-1" class="">企业用户</span>
            </div>
            <div class="info_box" id="info_box">
                <form method="post" action="/index.php/Home/User/y">
                    <div>手机号/邮箱</div>
                    <label class="account_wrap"><i class="icon-user"></i> <input name="login" type="text" class="account" id="account" tabindex="1"></label>
                    <div class="forget_psw_wrap">
                        密码<a href="/ctrlcommon/resetPassword" class="forget_psw">忘记密码？</a>
                    </div>
                    <label class="psw_wrap"><i class="icon-lock"></i> <input type="password" name="psw" class="psw" id="psw" tabindex="2"></label>
                    <div>
                        <label class="validate_code_wrap"><input type="text" name="yzm" style="padding: 11px 10px" placeholder="点此查看验证码" class="validate_code" id="validate_code" tabindex="3"><img src="/index.php/Home/User/yzm" alt="验证码" class="validate_code_img" id="validate_code_img" onclick="this.src=this.src+'?'+Math.random()" style="display: none;"></label>
                    </div>
                    <div class="auto_login_wrap">
                        <input type="checkbox" class="auto_login" id="auto_login" checked="">
                        <span>下次自动登录(公共场所请勿勾选)</span>
                    </div>
                    <div class="login_btn" id="login_btn">登录兼职猫</div>
                </form>
                <div class="register_wrap">
                    还没有兼职猫账号？<a href="reg">免费注册</a>
                </div>
            </div>
        </div>
        <div class="sns_wrap">
            关注兼职猫: <a href="http://weibo.com/u/5130312330"><img src="/Public/img/sina_weibo.png-version=1.1.png" alt="新浪微博"></a> <a id="weichat_2wm" href="javascript:;"><img src="/Public/img/wechat.png-version=1.1.png" alt="新浪微博"></a>
        </div>
    </div>
</section>

<div class="data_hidden" id="init_operate">
    { "user_account":"null", "user_pwd":"null","user_type":"null" }
</div>

<footer class="footer">
    <div class="w_main channel">
        <a rel="nofollow" href="http://www.jianzhimao.com/ctrlindex/contact.html" style="padding-left: 0;">关于我们</a>|
        <a rel="nofollow" href="http://www.jianzhimao.com/ctrlindex/join.html">加入我们</a>|
        <a rel="nofollow" href="http://www.jianzhimao.com/ctrlindex/enterprise.html">企业推广</a>|
        <a rel="nofollow" href="http://www.jianzhimao.com/ctrlCooperate/help.html">帮助中心</a>
    </div>
    <p class="w_main"> Copyright©2015 兼职猫 jianzhimao.com 广州九尾信息科技有限公司 版权所有   粤ICP备13061591号 </p>
</footer>

<!-- 初始化常量 -->
<input type="hidden" id="http_id" value="http">
<input type="hidden" id="https_id" value="https">

<!--<script src="//www.jianzhimao.com/web/assets/js/sea.js?version=1.1"></script>-->
<!--<script>-->
    <!--seajs.use("login");-->
    <!--var host="jianzhimao.com";-->
    <!--var c = "guangzhou";-->
<!--</script>-->

<script type="text/javascript" src="/Public/js/jquery-1.11.1.min.js"></script>
<script>
    $(function(){
        <!--验证码-->
        $('#validate_code').click(function(){
            $('#validate_code_img').css('display','block');
        });

        <!--求职企业跳转登录-->
        $('#user_type-1').click(function(){
            $('#user_type-1').addClass('selected');
            $('#user_type-0').removeClass('selected');
        });
        $('#user_type-0').click(function(){
            $('#user_type-0').addClass('selected');
            $('#user_type-1').removeClass('selected');
        });

        <!--ajax请求登录传输数据-->
        $.ajaxSetup({
           error:function(){
               alert('请求数据错误');
           },
           dataType:'json'
        });
        $('.login_btn').click(function(){
            $.post('<?php echo U("Home/User/logins");?>',$('form').serialize(),function(data){
                if(data.status){
                    location = '<?php echo U("Home/User/main");?>';
                }else{
                    alert(data.info);
                    $('#validate_code_img').attr('src','/index.php/Home/User/yzm');
                }
            });
        });
    });
</script>
</body>
</html>